package com.evan.designpatterns.observer.refactor;

import java.util.Date;

/**
 * @author :liujiapeng01
 * @date :2019-03-19 17:00
 **/
public class Question {

    private String creator;
    private Date date;
    private String info;

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Question{" +
                "creator='" + creator + '\'' +
                ", date=" + date +
                ", info='" + info + '\'' +
                '}';
    }
}
